#include"EpollServer.hpp"

int main(int argc,char* argv[])
{
    if(argc!=2)
    {
        Log(FATAL,"please enter two parameter:\n\t server port");
    }
    int port=std::stoi(argv[1]);
    std::unique_ptr<EpollServer> selectserver=std::make_unique<EpollServer>(port);
    selectserver->start();
    return 0;
}